And FWIW my new dev environment, on general release early next year, uses a
client side language modelled on UniVerse Basic but with component and event
oriented features...
Hideously contrived example follows -
* get the author id from a selection dialog
Author = This.AUTHOR.Text
If Author = "" Then
STOP
End
* pointless validation to prove a point
Read AuthorRec From U2_AUTHORS, Author Else
ShowMessage "Not a known author"
STOP
End
* change the selection command property for a report
TCL = 'SSELECT U2_BOOKS'
TCL := ' WITH AUTHOR_ID = "': OConv(Author, "MCU"):'"'
BookList.Command = TCL
* run it ..
BookList.Run()
* how about saving the results?
BookList.SaveToFile("c:\temp\mybooks.txt")
(and so forth - you get the idea)
I did the same for an older - now defunct - Windows 4GL many years ago as a
way of helping UniVerse developers bridge the gap. Seemed like a good time
to resurrect it in my new toolkit.
:)
Brian
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ross Ferris
Sent: 13 December 2011 03:18
To: U2 Users List
Subject: Re: [U2] Is SB+ object-oriented?
Yes - is also supported "for real" within Cache & QM
Ross Ferris
Stamina Software
Visage > Better by Design!
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Wjhonson
Sent: Tuesday, 13 December 2011 7:17 AM
To: [email protected]
Subject: [U2] Is SB+ object-oriented?
Can Pick BASIC code simulate an object oriented environment?
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users