Instead of doing:
a.i=0
a=a+1
debug(a)
You can do:
a.i=0
a+1
debug(a)
works also with -, / and *
short calculations
short calculations
A sketch tool with a twist, SECret INSPiration made using Purebasic.
Re: short calculations
With all due respect this doesn't qualify as a tip or trick, it's documented in the PureBasic Help file under "Variables and Types".
Re: short calculations
Some other hints:
You should use Code Tags:
[ code ].... your code ... [ /code ] ) without the spaces!
And puton the first line
Greetings - Thomas
You should use Code Tags:
[ code ].... your code ... [ /code ] ) without the spaces!
And put
Code: Select all
EnableExplicit
Greetings - Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
