ahha Posted November 14, 2008 Share Posted November 14, 2008 Okay it's late and I may be getting stupid here. What am I doing wrong? This is the error I get: ==> String missing closing quote.: Funny thing is that until I added Oct-Dec it gave me no error. expandcollapse popup$calendar2009 = " " & _ " 2009 "& @CRLF & _ " (and Federal Holidays) "& @CRLF & _ " "& @CRLF & _ " January February March "& @CRLF & _ " (01/xx/2009) (02/xx/2009) (03/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 "& @CRLF & _ " 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 "& @CRLF & _ " 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 "& @CRLF & _ " 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 "& @CRLF & _ " 25 26 27 28 29 30 31 29 30 31 "& @CRLF & _ " "& @CRLF & _ " 1 - New Years Day 16 - Washingtons Birthday "& @CRLF & _ " 19 - Martin Luther King, Jr. Day "& @CRLF & _ " "& @CRLF & _ " April May June "& @CRLF & _ " (04/xx/2009) (05/xx/2009) (06/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 4 1 2 1 2 3 4 5 6 "& @CRLF & _ " 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13 "& @CRLF & _ " 12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20 "& @CRLF & _ " 19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27 "& @CRLF & _ " 26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 "& @CRLF & _ " 31 "& @CRLF & _ " 25 - Memorial Day "& @CRLF & _ " "& @CRLF & _ " July August September "& @CRLF & _ " (07/xx/2009) (08/xx/2009) (09/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 4 1 1 2 3 4 5 "& @CRLF & _ " 5 6 7 8 9 10 11 2 3 4 5 6 7 8 6 7 8 9 10 11 12 "& @CRLF & _ " 12 13 14 15 16 17 18 9 10 11 12 13 14 15 13 14 15 16 17 18 19 "& @CRLF & _ " 19 20 21 22 23 24 25 16 17 18 19 20 21 22 20 21 22 23 24 25 26 "& @CRLF & _ " 26 27 28 29 30 31 23 24 25 26 27 28 29 27 28 29 30 "& @CRLF & _ " 30 31 "& @CRLF & _ " 3-4 Independence Day "& @CRLF & _ " "& @CRLF & _ " October November December "& @CRLF & _ " (10/xx/2009) (11/xx/2009) (12/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 "& @CRLF & _ " 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 "& @CRLF & _ " 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 "& @CRLF & _ " 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 "& @CRLF & _ " 25 26 27 28 29 30 31 29 30 27 28 29 30 31 "& @CRLF & _ " "& @CRLF & _ " 12 - Columbus Day 11 - Veterans Day 25 - Christmas Day "& @CRLF & _ " 26 - Thanksgiving Day "& @CRLF & _ " " Link to comment Share on other sites More sharing options...
Zedna Posted November 14, 2008 Share Posted November 14, 2008 Try eliminating method to see what line is source of problem. But maybe it's "max. chars on line" related ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
MrCreatoR Posted November 14, 2008 Share Posted November 14, 2008 Hm, it seems to be a strange bug (even two bugs). Try this (it's cuted out), it's working fine, but as soon as you will add any character right after the last 26, you will get the error (syntax check is ok btw). And the second bug, is that when ytou uncomment the last part, you will get the same StringLen() as without this addition, very strange: expandcollapse popup$calendar2009 = " " & _ " 2009 "& @CRLF & _ " (and Federal Holidays) "& @CRLF & _ " "& @CRLF & _ " January February March "& @CRLF & _ " (01/xx/2009) (02/xx/2009) (03/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 "& @CRLF & _ " 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 "& @CRLF & _ " 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 "& @CRLF & _ " 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 "& @CRLF & _ " 25 26 27 28 29 30 31 29 30 31 "& @CRLF & _ " "& @CRLF & _ " 1 - New Year’s Day 16 - Washington’s Birthday "& @CRLF & _ " 19 - Martin Luther King, Jr. Day "& @CRLF & _ " "& @CRLF & _ " April May June "& @CRLF & _ " (04/xx/2009) (05/xx/2009) (06/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 4 1 2 1 2 3 4 5 6 "& @CRLF & _ " 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13 "& @CRLF & _ " 12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20 "& @CRLF & _ " 19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27 "& @CRLF & _ " 26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 "& @CRLF & _ " 31 "& @CRLF & _ " 25 - Memorial Day "& @CRLF & _ " "& @CRLF & _ " July August September "& @CRLF & _ " (07/xx/2009) (08/xx/2009) (09/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 4 1 1 2 3 4 5 "& @CRLF & _ " 5 6 7 8 9 10 11 2 3 4 5 6 7 8 6 7 8 9 10 11 12 "& @CRLF & _ " 12 13 14 15 16 17 18 9 10 11 12 13 14 15 13 14 15 16 17 18 19 "& @CRLF & _ " 19 20 21 22 23 24 25 16 17 18 19 20 21 22 20 21 22 23 24 25 26 "& @CRLF & _ " 26 27 28 29 30 31 23 24 25 26 27 28 29 27 28 29 30 "& @CRLF & _ " 30 31 "& @CRLF & _ " 3-4 Independence Day "& @CRLF & _ " "& @CRLF & _ " October November December "& @CRLF & _ " (10/xx/2009) (11/xx/2009) (12/xx/2009) "& @CRLF & _ " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa "& @CRLF & _ " 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 "& @CRLF & _ " 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 "& @CRLF & _ " 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 "& @CRLF & _ " 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 "& @CRLF & _ " 25 26 27 28 29 30 31 29 30 27 28 29 30 31 "& @CRLF & _ " "& @CRLF & _ " 12 - Columbus Day 11 - Veterans Day 25 - Christmas Day "& @CRLF & _ " 26" ;& "test" ConsoleWrite(StringLen($calendar2009) & @CRLF) Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 14, 2008 Moderators Share Posted November 14, 2008 Hm, it seems to be a strange bug (even two bugs). Try this (it's cuted out), it's working fine, but as soon as you will add any character right after the last 26, you will get the error (syntax check is ok btw). And the second bug, is that when ytou uncomment the last part, you will get the same StringLen() as without this addition, very strange:Curious, I got the expected result when I ran your code. But I stay away from long line continuations because of line limits as Zedna had mentioned. I generally will just do something like:expandcollapse popupLocal $calendar2009 = " 2009 " & @CRLF $calendar2009 &= " (and Federal Holidays) " & @CRLF $calendar2009 &= " " & @CRLF $calendar2009 &= " January February March " & @CRLF $calendar2009 &= " (01/xx/2009) (02/xx/2009) (03/xx/2009) " & @CRLF $calendar2009 &= " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa " & @CRLF $calendar2009 &= " 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 " & @CRLF $calendar2009 &= " 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 " & @CRLF $calendar2009 &= " 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 " & @CRLF $calendar2009 &= " 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 " & @CRLF $calendar2009 &= " 25 26 27 28 29 30 31 29 30 31 " & @CRLF $calendar2009 &= " " & @CRLF $calendar2009 &= " 1 - New Years Day 16 - Washingtons Birthday " & @CRLF $calendar2009 &= " 19 - Martin Luther King, Jr. Day " & @CRLF $calendar2009 &= " " & @CRLF $calendar2009 &= " April May June " & @CRLF $calendar2009 &= " (04/xx/2009) (05/xx/2009) (06/xx/2009) " & @CRLF $calendar2009 &= " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa " & @CRLF $calendar2009 &= " 1 2 3 4 1 2 1 2 3 4 5 6 " & @CRLF $calendar2009 &= " 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13 " & @CRLF $calendar2009 &= " 12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20 " & @CRLF $calendar2009 &= " 19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27 " & @CRLF $calendar2009 &= " 26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 " & @CRLF $calendar2009 &= " 31 " & @CRLF $calendar2009 &= " 25 - Memorial Day " & @CRLF $calendar2009 &= " " & @CRLF $calendar2009 &= " July August September " & @CRLF $calendar2009 &= " (07/xx/2009) (08/xx/2009) (09/xx/2009) " & @CRLF $calendar2009 &= " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa " & @CRLF $calendar2009 &= " 1 2 3 4 1 1 2 3 4 5 " & @CRLF $calendar2009 &= " 5 6 7 8 9 10 11 2 3 4 5 6 7 8 6 7 8 9 10 11 12 " & @CRLF $calendar2009 &= " 12 13 14 15 16 17 18 9 10 11 12 13 14 15 13 14 15 16 17 18 19 " & @CRLF $calendar2009 &= " 19 20 21 22 23 24 25 16 17 18 19 20 21 22 20 21 22 23 24 25 26 " & @CRLF $calendar2009 &= " 26 27 28 29 30 31 23 24 25 26 27 28 29 27 28 29 30 " & @CRLF $calendar2009 &= " 30 31 " & @CRLF $calendar2009 &= " 3-4 Independence Day " & @CRLF $calendar2009 &= " " & @CRLF $calendar2009 &= " October November December " & @CRLF $calendar2009 &= " (10/xx/2009) (11/xx/2009) (12/xx/2009) " & @CRLF $calendar2009 &= " Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa " & @CRLF $calendar2009 &= " 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 " & @CRLF $calendar2009 &= " 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 " & @CRLF $calendar2009 &= " 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 " & @CRLF $calendar2009 &= " 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 " & @CRLF $calendar2009 &= " 25 26 27 28 29 30 31 29 30 27 28 29 30 31 " & @CRLF $calendar2009 &= " " & @CRLF $calendar2009 &= " 12 - Columbus Day 11 - Veterans Day 25 - Christmas Day " & @CRLF ;~ $calendar2009 &= " 26" & @CRLF ConsoleWrite(StringLen($calendar2009) & @CRLF) ConsoleWrite($calendar2009 & @CRLF) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
MrCreatoR Posted November 14, 2008 Share Posted November 14, 2008 But I stay away from long line continuations because of line limits as Zedna had mentionedMe too, but i don't think here is the issue with long lines, because the limit is on one(?) line lenght, and here we use more than one line (via & _). So, or it is an AutoIt interpretation bug, or it's just an incorrect doc description (of the limitation), and it should actualy say that the limit is not only on one single script line, but also on all lines that truncated with & _.And if it's really a line lenght limitation, then also Syntax check should alert on such situation, for now it's say that there is no errors at all. Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 14, 2008 Moderators Share Posted November 14, 2008 Me too, but i don't think here is the issue with long lines, because the limit is on one(?) line lenght, and here we use more than one line (via & _). So, or it is an AutoIt interpretation bug, or it's just an incorrect doc description (of the limitation), and it should actualy say that the limit is not only on one single script line, but also on all lines that truncated with & _.And if it's really a line lenght limitation, then also Syntax check should alert on such situation, for now it's say that there is no errors at all.Well with the continuation line, it's still considered to be 1 line.So with variables and @CRLFs and quotes you're at 4206 characters.The line limit is 4095, so I don't really see where that's a bug. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
MrCreatoR Posted November 14, 2008 Share Posted November 14, 2008 The line limit is 4095, so I don't really see where that's a bug.Ok, now i see, it's not a bug. But i think the docs should be updated a little, don't you agree? (to prevent confusing by other users). Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
jvanegmond Posted November 14, 2008 Share Posted November 14, 2008 Ok, now i see, it's not a bug. But i think the docs should be updated a little, don't you agree? (to prevent confusing by other users).Not really. _ makes AutoIt ignore the next @CRLF (or newline). github.com/jvanegmond Link to comment Share on other sites More sharing options...
MrCreatoR Posted November 14, 2008 Share Posted November 14, 2008 Not reallyNot really a bug, or not really needs a docs update? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
jvanegmond Posted November 14, 2008 Share Posted November 14, 2008 Not really a bug, or not really needs a docs update? Both. It doesn't need a doc update, if you realise that _ does not start a new line for AutoIt. github.com/jvanegmond Link to comment Share on other sites More sharing options...
ahha Posted November 14, 2008 Author Share Posted November 14, 2008 Wow - thank you all so very much for your quick and thorough response. My confusion was probably caused by the Datatypes and Ranges information that indicated "String Can contain strings of up to 2147483647 characters." I wrongly assumed for some reason that a page of text could be entered via source and did not realize there was a line length limit MAX_LINESIZE. Zedna had the clue. MrCrestoR - with the "26" at the end there are from the first $ in $calendar to the ending " in 26" exactly 4143 characters. So subtracting out the 48 line continuations we end up at 4095 the MAX_LINESIZE. SmOke_N - I will use the concatenation approach. Thanks again - ahha Link to comment Share on other sites More sharing options...
MrCreatoR Posted November 14, 2008 Share Posted November 14, 2008 It doesn't need a doc update, if you realise that _ does not start a new line for AutoItI am realising, and that's the point, it's me, and it took to me a while to understand it (with your help guys ). So, then what we can expect from newbies?! Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
jvanegmond Posted November 14, 2008 Share Posted November 14, 2008 My confusion was probably caused by the Datatypes and Ranges information that indicated "String Can contain strings of up to 2147483647 characters." I wrongly assumed for some reason that a page of text could be entered via source and did not realize there was a line length limit MAX_LINESIZE. Zedna had the clue.@MrCreator, this is the confusion that makes sense to me. A different error message saying something about MAX_LINESIZE would make more sense than updating the documentation. github.com/jvanegmond Link to comment Share on other sites More sharing options...
trancexx Posted November 14, 2008 Share Posted November 14, 2008 Spectacular time format! Americans... ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
ahha Posted November 15, 2008 Author Share Posted November 15, 2008 Thanks all for the help. I posted in Examples my 'Simple popup 2009 calendar' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now