Hello everyone
It is possible to create a sub with this style ???
Sub MySub ( x, y), z
Print x
Print y
Print z
End Sub
I've read that it can be done with macros, but I'm not sure
Thank you
Create sub to qbasic style
Re: Create sub to qbasic style
Curious as to why you'd want to use such a syntax style?
Obviously style is subjective, but I've always found this aspect of traditional BASIC syntax questionable.
Obviously style is subjective, but I've always found this aspect of traditional BASIC syntax questionable.
Re: Create sub to qbasic style
Thanks fxm, it went well for me!!!!
Now to see if this is possible...
Sub MySub ( x1, y1)-(x2, Y2), Var1 , Var2
What would it be to draw a QBasic-style line, the previous one was for Pset( X, Y), Color
I guess it could, because the GFXLIB library uses this syntax.
Greetings
Re: Create sub to qbasic style
Sorry Paul Doe, I unintentionally reported you.
Yes, it is to be compatible with VB6 syntax, which was the same as Qbasic. Best regards
Re: Create sub to qbasic style
Like one of my previous posts (link above), I would suggest at most a syntax like:
MySub pt(X1, Y1), pt(X2, Y2), Var1, Var2