PAS2JS: Error: Not supported: pointer for Name: ^TString; lazarus / 76-Pas2JS ---------------------------------------------------------------------- peter.dell · 2025-02-17 23:07 Hello, The docu mentions that pointers as "Supported syntax elements". But compiling the following program results in "Test.pas(4,5) Error: Not supported: pointer" Do you have any suggestions on how to fix or work around this? 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 program test;type TString = string;var Name:  TString;var PName: ^TString;begin  WriteLn('Works,');end. Kind regards, Peter/JAC! ---------------------------------------------------------------------- kagamma · 2025-02-18 03:27 The documentation clearly states: QuotePointer (as a reference to a class, array, record, pointer of record, or interface). There is no mention of the string type. ---------------------------------------------------------------------- Thaddy · 2025-02-18 06:11 You mean pointer type. Strings are of course supported. Pointers are not. ---------------------------------------------------------------------- peter.dell · 2025-02-18 21:30 Thanks. So that also applies then for all pointers to other elementary types. I was hoping there was an option. For now, I changed the copy to copy/assign the strings.