BBC BASIC for Windows
Programming >> BBC BASIC language >> Missing )
http://bb4w.conforums.com/index.cgi?board=language&action=display&num=1450135553

Missing )
Post by Kirkkaf13 on Dec 14th, 2015, 10:25pm

Hello,

After along time away from any sort of programming, I think my attention to detail has diminished, I cannot seem the find the syntax error. Where is the missing ')' ?

Code:
      PROC_create_window("Hello", 500, 500)

      DEF PROC_create_window(title$,x% y%)
      VDU 23,22,x%;y%;8,16,32,0

      SYS "SetWindowText", @hwnd%, title$
      ENDPROC


 


Thank you.
Re: Missing )
Post by Kirkkaf13 on Dec 14th, 2015, 10:34pm

Typical, as soon as I post I notice the missing comma in the procedure signature.