source:
CIVL/examples/languageFeatures/printfBad.cvl@
325d439
| Last change on this file since 325d439 was 4ceb0ef, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 176 bytes | |
| Rev | Line | |
|---|---|---|
| [4533f7eb] | 1 | #include<civlc.h> |
| [09b9231b] | 2 | #include<stdio.h> |
| [4533f7eb] | 3 | |
| 4 | $input double x; | |
| 5 | ||
| 6 | void main() { | |
| [4ceb0ef] | 7 | printf("x=%l", x); //%l is not a valid conversion specifier, so this example will have a syntax error. |
| [4533f7eb] | 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
