搜尋此網誌

2012年8月16日 星期四

Visual Forms Representation(VFR) - AND/OR/NOT

[and]


[or]

[not]
反相

範例:
suppressif NOT ideqval NVData.DeviceEn_0 == 0x1
    AND NOT ideqval NVData.DeviceEn_1 == 0x1
    AND NOT ideqval NVData.DeviceEn_2 == 0x1
    OR ideqval NVData.SupportDevChoice == 0x0
    OR ideqval NVData.DeviceTypeInput == 0x5;
        oneof varid  = NVData.Conf,                

                prompt      =    STRING_TOKEN(MV_STR_OPTION_TEST_STR),
                help        = STRING_TOKEN(MV_STR_DEVICE_TYPE_SLECT_HELP),
                option text = STRING_TOKEN(MV_STR_OPTION_NO_STRING), value = 0x1001, flags = DEFAULT | INTERACTIVE;
                option text = STRING_TOKEN(MV_STR_OPTION_YES_STRING), value =
0x1002, flags = INTERACTIVE;
            endoneof;

endif;

沒有留言:

張貼留言