Skip to content

Commit

Permalink
Merge pull request #572 from QB64-Phoenix-Edition/export-adjustments-…
Browse files Browse the repository at this point in the history
…sound

Export adjustment
  • Loading branch information
RhoSigma-QB64 authored Nov 22, 2024
2 parents f514303 + ee034bf commit 40259cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/ide/ide_export.bas
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ SUB ExportCodeAs (docFormat$)
CASE "SELECT"
IF UCASE$(LEFT$(la$, 4)) = "CASE" THEN kw$ = kw$ + " " + LEFT$(la$, 4): page$ = "SELECT CASE": fu% = -1: bo% = -1: in% = -1
IF UCASE$(LEFT$(la$, 9)) = "EVERYCASE" THEN kw$ = kw$ + " " + LEFT$(la$, 9): page$ = "SELECT CASE": fu% = -1: bo% = -1: in% = -1
CASE "SOUND"
IF UCASE$(LEFT$(la$, 4)) = "WAIT" THEN kw$ = kw$ + " " + LEFT$(la$, 4): in% = -1
IF UCASE$(LEFT$(la$, 6)) = "RESUME" THEN kw$ = kw$ + " " + LEFT$(la$, 6): in% = -1
CASE "VIEW": IF UCASE$(LEFT$(la$, 5)) = "PRINT" THEN kw$ = kw$ + " " + LEFT$(la$, 5): page$ = "VIEW PRINT": in% = -1
CASE "INPUT", "PRINT", "WRITE": IF LEFT$(la$, 1) = "#" THEN page$ = page$ + " (file statement)"
END SELECT
Expand Down

0 comments on commit 40259cd

Please sign in to comment.