Just starting out? Need help? Post your questions and find answers here.
Andy
Posts: 46 Joined: Sat Feb 15, 2020 5:19 pm
Location: Larnaca, Cyprus
Contact:
Post
by Andy » Fri Oct 09, 2020 9:42 pm
Code: Select all
! v_rate = {}
! v_gSystem.getSoftwareFormat(v_rate, null, null)
! v_sbrate = v_rate.val
debug sbrate
In the above code (it works), i need to use rate.val with some sb commands. Is this the correct way to get a value from an object or is there a more direct way to access the data?
Last edited by
Andy on Sat Oct 10, 2020 7:53 am, edited 1 time in total.
Peter
Posts: 1197 Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:
Post
by Peter » Fri Oct 09, 2020 11:00 pm
That really works?
gSystem.getSoftwareFormat() is to my knowledge a function and not a variable (iOS, right?). So the 'v_' would be wrong.
Andy
Posts: 46 Joined: Sat Feb 15, 2020 5:19 pm
Location: Larnaca, Cyprus
Contact:
Post
by Andy » Sat Oct 10, 2020 7:53 am
Peter wrote: That really works?
gSystem.getSoftwareFormat() is to my knowledge a function and not a variable (iOS, right?). So the 'v_' would be wrong.
sorry Peter. It was a typo. I updated it