CASE sentence: Is there a DEFAULT value?

EmerikEmerik Member Posts: 50
edited 2007-06-14 in Navision Attain
Hi,
I'm making a CASE sentence like this:

CASE no OF
1: foo(1);
2: foo(20);
3: foo(300);
etc...

Never mind what the foo() does or why I don't call foo directly with a variation of "no".

Is it possible to add a DEFAULT value at the end, in case "no" has another value than the ones listed in the CASE sentence?

I will appreciate any help.
/Emerik

Answers

Sign In or Register to comment.