BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Mon Jul 16, 2018 1:24 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Add INC and DEC Commands
PostPosted: Wed Dec 16, 2009 6:39 am 
Offline
Master

Joined: Mon Aug 18, 2008 1:26 am
Posts: 799
Location: CA bay Area
I'd like to get away from doing incrementing using
variable = variable + 1
and decrementing using
variable = variable - 1

I'd rather do simple stuff like
INC variable
or
variable ++1
for incrementing, or
DEC variable
or
variable --1
for decrementing.
Thanks for the attention.

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO