Coding using 'Or ' Shortcut?

Accepted Solution Solved
Reply
Regular Contributor
Posts: 194
Accepted Solution

Coding using 'Or ' Shortcut?

Hello.

I'm need to create a new variable.   I've about 20 more to add in the parenthesis below to code.

The following doesn't work:

if scode=('0001 or '0083') then late=1;


Thank you!



Accepted Solutions
Solution
‎03-25-2013 06:28 PM
Super User
Posts: 19,768

Re: Coding using 'Or ' Shortcut?

if scode in ('0001', '00083') then late=1;

View solution in original post


All Replies
Solution
‎03-25-2013 06:28 PM
Super User
Posts: 19,768

Re: Coding using 'Or ' Shortcut?

if scode in ('0001', '00083') then late=1;

Regular Contributor
Posts: 194

Re: Coding using 'Or ' Shortcut?

Thank you very much!Smiley Happy

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 157 views
  • 0 likes
  • 2 in conversation