home *** CD-ROM | disk | FTP | other *** search
- SemWare Template file... Do not edit
- 1 .s str
- string
- 1 .s int
- integer
- 2 .s sproc
- string proc \C()
- end
- 2 .s iproc
- integer proc \C()
- end
- 3 .s main
- proc main()
- \c
- end
- 2 .s proc
- proc \C()
- end
- 2 .s if
- if (\C)
- endif
- 2 .s while
- while (\C)
- endwhile
- 2 .s repeat
- repeat
- until \c
- 3 .s loop
- loop
- \c
- endloop
- 2 .s case
- case (\C)
- endcase
- 3 .c main
- void main(void) {
- \c
- }
- 2 .c for
- for (\C;;) {
- }
- 2 .c if
- if (\C) {
- }
- 2 .c while
- while (\C) {
- }
- 2 .c switch
- switch (\C) {
- }
- 2 .prgwhile
- do while \c
- enddo
- 2 .prgif
- if \c
- endif
- 3 .prgcase
- do case
- case \c
- endcase
- 4 .pasprog
- program \c
-
- begin { }
- end. { }
- 4 .pasproc
- procedure \c
-
- begin { }
- end; { }
- 4 .pasfunc
- function \c
-
- begin { }
- end; { }
- 3 .pasif
- if \c then begin
- end else begin
- end; {endif}
- 3 .pasrepeat
- repeat
- \c
- until ; {endrepeat}
- 2 .paswhile
- while \c do begin
- end; {endwhile}
- 2 .pasfor
- for \c := to do begin
- end; {endfor}
- 3 .pascase
- case \c of
- else
- end; {endcase}
-