ADICON Support Forum
Applied Digital, Inc.
You are not logged in. [
Log In
]
Home
»
Forums
»
C-Max Code Samples
»
Code Snippets
» How to simulate a else if statement
Register User
Forum List
Calendar
FAQ
Page 1 of 1
1
Topic Options
#19046
-
11/25/07
07:55 PM
How to simulate a else if statement
chewbarker
chewbarker
newbie
Registered: 01/01/07
Posts: 23
I note that it is not directly possible to do an else if statement.
One way I propose it could be done is by:
if a=b then
...
jump to
Line Y
if c=d then
...
Line Y
Is this the most appropriate way to simulate and else if statement.
Top
#19047
-
11/25/07
08:44 PM
Re: How to simulate a else if statement
[Re:
chewbarker
]
Guy Lavoie
Guy Lavoie
Beyond All Hope
Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Yes that's the best way. Internally, that is how higher level languages do it once compiled to machine code.
_________________________
"If you don't know what you're doing, do it neatly..."
Top
Page 1 of 1
1
Previous Topic
Index
Next Topic
Preview
Moderator:
Dan Smith
,
Monte G
,
ADI Tech Support
,
Guy Lavoie
Hop to:
ADI Products in Action ------
The Showcase
The Showcase Archive
HA Open Forum ------
General HA Topics
HA Projects
Frequently Asked Questions
ADI Products ------
New ADI Products
C-Max Software
Ocelot HA Controller
Leopard Touchscreen Controller
ADICON Modules
C-Max Code Samples ------
Code Snippets
Ocelot C-Max Files
Leopard C-Max Files
Leopard Icons
IR Files ------
IR Files
Computer Software ------
Computer Software (3rd Party)
Custom Software
Forum Requests ------
Comments for Improving the Site
Print Topic
Switch to Threaded Mode
chewbarker
View profile
Send a PM
Add to your Watched Users
View posts
Guy Lavoie
View profile
Send a PM
Add to your Watched Users
View posts
Who's Online
1 registered (
kuro
) and 21 anonymous users online.
details
Recent Posts
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
Today at
08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
Today at
08:34 AM
how to post an icon
by manu
02/03/12
03:40 AM
Command Pair
by kuro
02/01/12
12:49 AM
Does anyone have a copy of the latest TSE?
by sevenzenith1
01/30/12
05:17 AM
Shout Box
Sending...
Newest Members
feshh
,
manu
,
kuro
,
chuck214
,
Funkhauser
2747 Registered Users
Forum Stats
2747
Members
19
Forums
3837
Topics
22713
Posts
Max Online: 67 @
08/16/11
03:08 PM
February
Su
M
Tu
W
Th
F
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
My Cookies
·
Mark all read
Powered by UBB.threads™
Contact Us
·
Home
·
Top