VariabilesType How to enables inside IDE, the multiples lines inside oneString? lazarus / 68-Other OS ---------------------------------------------------------------------- d2010 · 2025-08-17 21:30 Hello Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {--}Function coexeicoane_asciiart5(link:boolean):shortstring;Begin     if (cntAssert08one in[31278,32795]) then elseResult:='___ _ _        _     ~~~       ~~~  _|_ _| (_) ___  | |    __ _  ___ __ _| |_ _   _ ___ _   _ | || | |/ _ \ | |   / _` |/ __/ _` | __| | | / __| | | | | || | |  __/ | |__| (_| | (_| (_| | |_| |_| \__ \ |_| ||___|_|_|\___| |_____\__,_|\___\__,_|\__|\__,_|___/\__,_|';     My Error C:Q1= How to fix, the  " coexeico.lpr(205,1) Error: String exceeds line?" ---------------------------------------------------------------------- BildatBoffin · 2025-08-18 09:29 "We dont have multi-line string literals yet" might explain the error ? Just split each line and use '+' to concatenate. ---------------------------------------------------------------------- Martin_fr · 2025-08-18 09:37 Actually, FPC 3.3.1 (very latest main branch from git) has it (but you need multiple ' or a ` depending on mode...). Also your QuoteCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i in[31278,32795]That does not work. "in" is a set operator. It only works with values from 0 to 255. (Compile with range check) ---------------------------------------------------------------------- Joanna · 2025-08-19 01:01 Quote from: d2010 on August 17, 2025, 11:30:25 pmHello Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {--}Function coexeicoane_asciiart5(link:boolean):shortstring;Begin     if (cntAssert08one in[31278,32795]) then elseResult:='___ _ _        _     ~~~       ~~~  _|_ _| (_) ___  | |    __ _  ___ __ _| |_ _   _ ___ _   _ | || | |/ _ \ | |   / _` |/ __/ _` | __| | | / __| | | | | || | |  __/ | |__| (_| | (_| (_| | |_| |_| \__ \ |_| ||___|_|_|\___| |_____\__,_|\___\__,_|\__|\__,_|___/\__,_|';     My Error C:Q1= How to fix, the  " coexeico.lpr(205,1) Error: String exceeds line?" Put the text of each line in quotes and insert +lineending+ at the places where you want to make new line. ---------------------------------------------------------------------- n7800 · 2025-08-19 08:57 Right-click in the Source Editor and select "MultiPaste..." from the context menu. This window will help add quotes and line endings for each line. ---------------------------------------------------------------------- Thaddy · 2025-08-19 15:56 It is enough to change the start end back ticks with triple normal ticks '''. That's because your ascii art contains back ticks. Also choode a fixed font: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i memo1.lines.add('''__ _ _        _     ~~~       ~~~  _|_ _| (_) ___  | |    __ _  ___ __ _| |_ _   _ ___ _   _| || | |/ _ \ | |   / _` |/ __/ _` | __| | | / __| | | || || | |  __/ | |__| (_| | (_| (_| | |_| |_| \__ \ |_| ||___|_|_|\___| |_____\__,_|\___\__,_|\__|\__,_|___/\__,_|''');I used consolas font to test. Still needs a VERY recent trunk. days or weeks, not months old. It is also possible to use uneven multiple - uneven! - repeats to escape duplicates in your original "text", just like normal quote- escapes. This very new feature can of course have minor glitches. I prefer the Delphi mode '''....''', not the back-ticks.