Search found 66 matches

by bbanelli
Thu Nov 24, 2016 3:23 pm
Forum: Coding Questions
Topic: Google Charts - how to implement in SB
Replies: 4
Views: 2419

Re: Google Charts - how to implement in SB

falsam wrote:Sorry. I would not do a tutorial ^^
Oh I hope you will "not" do any "not-tutorials" as this one in the future!!! :)

Many thanks falsam, great code, finally figured out how to "insert" <div>, have a great day, I'll keep playing! ;)
by bbanelli
Thu Nov 24, 2016 12:03 pm
Forum: Coding Questions
Topic: Google Charts - how to implement in SB
Replies: 4
Views: 2419

Google Charts - how to implement in SB

Greetings to all, as far as I could've understood from Google's documentation from here: https://developers.google.com/chart/interactive/docs/basic_draw_chart Your page must have an HTML element (typically a <div>) to hold your chart. What should be the best practice to include such JS libraries in ...
by bbanelli
Fri Nov 18, 2016 10:22 pm
Forum: Coding Questions
Topic: Cannot assign label address to pointer
Replies: 2
Views: 2588

Cannot assign label address to pointer

Define *p *p = ?NumericalData DataSection NumericalData: Data.l 100, 200, -250, -452, 145 EndDataSection Line 2 - syntax error. This code is also not working albeit it is legal and operational in PureBasic. Define *p Debug PeekL(?NumericalData) DataSection NumericalData: Data.l 100, 200, -250, -452...
by bbanelli
Tue Nov 15, 2016 9:44 pm
Forum: Coding Questions
Topic: '@' can't be used to get string address
Replies: 1
Views: 1886

'@' can't be used to get string address

I don't know if this is a bug or a feature, but both PeekC and PeekU have 'offset' parameter and I can't access string via @. Define s.s s = "abcdefgh" Debug PeekU(@s, 0) http://i.imgur.com/WgRbS7Z.png This code doesn't work as well returning the same error: Text$ = "Hello" *Text...
by bbanelli
Tue Nov 15, 2016 8:37 am
Forum: Coding Questions
Topic: Application design to notice code changes
Replies: 3
Views: 2196

Re: Application design to notice code changes

Hi Fred, I haven't noticed such behavior. :( Newer files on server have changed (younger) timestamp that "old" application but when clicking a link or merely pressing enter in address bar, "old" code remains. It is only Ctrl + F5 that forces reload and new files. Same in Chrome, ...
by bbanelli
Tue Nov 15, 2016 6:51 am
Forum: Coding Questions
Topic: Application design to notice code changes
Replies: 3
Views: 2196

Application design to notice code changes

Greetings to all, is there any "standardized" approach to notify user that local (cached) copy of his SpiderBasic complied software differs from the actual one on web server? Without it, I'm having difficulties communicating with clients by having to repeat constantly - "make sure you...
by bbanelli
Mon Nov 14, 2016 8:11 am
Forum: Coding Questions
Topic: [SB 2.00 b6] TrackBar vertical glitch
Replies: 4
Views: 2442

Re: [SB 2.00 b6] TrackBar vertical glitch

I used falsam's code: http://youtu.be/Ykr8TF29-lo?hd=1

Chrome Version 54.0.2840.87 m (64-bit), Windows 7 x64 (compiled and run).
by bbanelli
Mon Nov 14, 2016 7:53 am
Forum: Coding Questions
Topic: Inline JS function call issue
Replies: 3
Views: 2102

Re: Inline JS function call issue

Hi Peter, thanks for the heads up.

BTW, you proposed Declare as solution or that is a solution? Since I don't seem to be able to utilize it...
by bbanelli
Mon Nov 14, 2016 7:52 am
Forum: General Discussion
Topic: SpiderBasic 2.00 final is out !
Replies: 49
Views: 19847

Re: SpiderBasic 2.00 beta 6 is available !

skinkairewalker wrote:in SB 2.00 Beta 6 , have a bug in IDE , when i Press TAB to "autocomplete" function name , dont happens nothing ...
http://forums.spiderbasic.com/viewtopic ... 3096#p3096
by bbanelli
Fri Nov 11, 2016 10:25 pm
Forum: Coding Questions
Topic: Inline JS function call issue
Replies: 3
Views: 2102

Inline JS function call issue

Code: Select all

Procedure MyProcedure()
  Debug "Hello world"
EndProcedure

; Call in SpiderBasic
; MyProcedure()
; Call using Javascript
!f_myprocedure();

Code: Select all

Uncaught ReferenceError: f_myprocedure is not defined(…)
However, if you uncomment MyProcedure() it works (function is called both times).