Jump to content
qwert

[Solved] What is maximum binary string length?

Recommended Posts

qwert

I need to encode a GIF as a variable, but it gets truncated at some point.  I see examples in the help file of assembling a variable from multiple strings (shown below).

The help file says "Binary data can contain up to 2147483647 bytes", but I can't find a similar statement that controls the SciTE string length.

What is SciTE's string limit in characters?

Thanks in advance for any help.

Binary String.PNG

 

Edited by qwert

Share this post


Link to post
Share on other sites
czardas

Search 'limits' in the help file. It gives 2,147,483,647 for maximum string length/bytes. I see you found that. I'm not sure about SciTE. I wouldn't attempt to use SciTE for so much data.

Edited by czardas

Share this post


Link to post
Share on other sites
Jos

SciTE is unaware of stringlengths and only knows filesizes it needs to open.

From the Helpfile: 

Quote
max.file.size To avoid accidentally loading huge files on slow media, or just to ensure SciTE is used only to edit human readable code, the user can set the max.file.size property to specify a limit to file loading. If unset or set to 0, there is no limit. If set to a given size in bytes and if a file to load exceeds this limit, the user is asked if the file should be loaded. If accepted, the file is read as usual. If rejected then no action is taken (no file loaded, no buffer created).

So, there is no limit set unless you set this option in SciTEUSer.properties.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
qwert

Hmmm.  I'll have to think about those points.

I tried to assemble my GIF (7,634 bytes) using 3 parts as the example shows.  But I got this message at runtime:

 : ==> Unterminated string.: Local $sBinGIFImage

And, indeed, the reported string doesn't have all the hex digits.

I guess my question is now: How to properly declare the hex representation for a GIF? (... if it's not the way shown for sBinGIFImage?)

 

 

Share this post


Link to post
Share on other sites
qwert

Here's a very minimal demonstration script.  Even when my function is not called, it fails with the unterminated string error.  If I comment out MyBinGIFImage, the script (with the GIF from the help file) works.

;
;       GIF as a String
;

$String = BinGIFImage()

MsgBox(0, "Result", "Did it work?")

Func BinGIFImage() ;test GIF image converted to a binary string
    Local $sBinGIFImage = '0x47494638396144004700F70000FFFFFF1831711C357D182D6D1C3982182D691C35791C3986CACACA1831751C3D9614246118316D14286914357D1835791C398A183575204192142D65C2C2C2BE9296142459203D92AEAAAEC69A9AB2B2B6BAB6B6CACACEBEAA41142D7520398A395D9618358614317DA29E9E1028751C3D8A0C2455797979A27D7918316941699ECEA2A23D4955101C4955595961656100041C86828214358E182861B6A23DEBEBEBBEBEBE142D71E7B2B220419EB28E8E10246D2D3959DFA6AA10245D8E8A8EA29641696969CAB241202D49082065C6C6CA0C1C516165556979927D61616186B2183179AAAAAAC6C6C2969296DBDBDF243D718A71712031591C3582DFAEAE8E7D86A2A6A6314579866969AA828214285D20316910246592928E1031860410353D5D92F3F3F328499A14399A14203D3539497D754986868E0C2059A28282E3E3E3081024AE9A3D967171454545355992494D61AE8A8E7175797D869ED7A2A26555554D4D51B69296DBD7D7394969928A4D555D65D7A6AA8A7D39142855CAA6AA203982EBCACE5D6569AE9A359E9E9E715959183161B6C2DF5186C22D4169928A55414965BABABE615971AE9E9E0C18394559755979AAEBE3DF31498A5179A22439694159A6313128A6964D9EAABEDFBABE314982514924081849495565A696396969610C287D4535352035719682867171557171694571A64D5D861C3D92D2BE41514141DBCACAEFB6BA49393D24459A315586394561082471C6B649614D55B6AA5D1C2D59BE969A3D49717D7959614949CAB2AE514139244186E3C6CAF3EFEB756935797965867D55595D4561758AFBBEC23D659A1C357161551CBAAA49413D456D798A7D8282617DA2141C35000C2820283D24418A79753DE3DFDB24395D9692695D6986283965B2B2B23559968A8279FBFBEF8692AEEFD74D516D96C6B6559A8E45353541A69E5D82615D967D79454531D2BE4D92864561869E14244D554D456D6555393D555D61613159A6B286867592B29E8A351C316DF7FBFBFFC6C665757D1C397D555D7DCECACA1C3979182D71BEC2CE4539206D611C866561FFFFFF21F904010000FF002C00000000440047000008FF00FF091C48B0A0C18308132A5CC8B0A1C38710233E74674CA2C58B08C5E4B8900F16C68F1651697C152011C8930E977DD3A6F100CA970BC5C9C92166D92431307316540149C2AB1CDE64EA1CFA2FDA87483968CE01878E684E246A7E591A9369DBBE664E5F669254E357264BD3BAE2819715243C0A3FAA90DA45CF519518562894FDA8A451851E3DA8E0C0DBA34D3D25733156A0A32990AFC281FED02115F862333AACE6593A24F550183EB71A5BAC42C7579843785A1D7A52435306249A1F12BB1567452B568134E10864184706478C5333248645C70A3E545A151BDE8A'
    $sBinGIFImage &= '0F9F0C59C645D2BD70CE381D192A00C7419DCA0AE851A200669E905B1B1D59A264FFD171A7C29D3869B0544893663BF7834AD2E878A7AE1096FB5892D4D185FCC77B8555E8E0883AAEF0B2CA81AE8812C31F59CCF15F4255E013060241ACE2CA856E7451430DBBA0F6E0418CFC5243183570D0055C4F90D855261F1AC44D586AE0F1C4346AA8F1C41378C818A3832D0E840D1E1C144101214EFC10430C4E60C0880D08E063458F0229C10436D830614A21B75041051F59D47186154C6060857B1FCE51A413419CB0CB1F155470CB1F8EB473C20F3F10D2548F679C70423B31E0C301051B6CC008051CD810449A319C01A529EDB8C00C0708441A24A44D3212840B413003252EE198B2411191861AAA9056B4C303253D9E3204343130C108A8A246FF4A81065604F185212DBA13CB258F04E1043636C03A2A234CFCA0CC1A5FE4F3E03DB598334B1F6EC44008B0C2526003064E9832C4140494100D18DCF522432DDD74534D19A074C1C4061414E1AE0DD88C10831B054860EF0507BC919A0AD1C880CA37D598730509653033EDA0D6128BE6B6537C7081BD074CD258360294708135937821483B32D8F282BA1BD8400123D8101283324B8883CB14164B700104F69C52960A0F5C60732A1008E0413E071C50C60907DBB001B62E4C708F399E784080C33643207156BD9470EF070404208F008094F0801D203342EB093CC8608A397AA4B0440810A4F28A045364E3943153D82B412A5E3CD04002F6007240098604FF31ED06D83861C703105C318B10476CB1C726D5D4A3C0058038958FD46B07014A0A2CE0220001807C00010F3160808D152FC853C20121E4A20A382C60924C300AACDDF650F55CA1B602F5D4D2411FEB94620FE77B2F01C70818FCC043CF3D8B20CCEE8360E2F0BDBDE8D40C2EA9DC1B0D208B00B345289BEBBD770A273001C7143D0302880022E4314C1F1D4002814F1240103D4C9BBC7F2F014B7051C60D09189037F221488420187000F3018200F610C0120AE086580822040FB3D71440F01228340010AF78C5053E20007DF8410AFA08C0037EE73DADF9E0000448E10113688014A4C30709C89A4F2E20002D80EB24D780C11A5A6080541CC00033184201FF18C0800808200421F0DE01A7600F6EA590850C68413A182000089460028F58C31A6E884318E8900706F0C0AA0650800124E00182B84212CD470001B8F1776D34C00306E087474CE0015080C61A74C8459424E20BCEE045387CD0023F04A000050880084C910C35AED08D6E4CA1000C60802D68E11146B0052F44B10632F4112588384521508002657CA100FA2840031409095528220492A42424DD28823DB8800B8F20C328DB0087ACB4860A7480430306708D44DC2014B998C52C1E294B01E4037DA1D0830B88900E72E0E0388A220A12B290811564200EF220A6191251'
    $sBinGIFImage &= '8A0ECC2219BF73A32C45100C458002141D580711E0E0CD1554801CA81A0A12DE91FF810CD4E116A318C004A4C1860E744008C110813A2949497B2842151DA0011086D18834446105B7408153908002D69021035018400358400321084118906428431F600045449406D2684414D8B18238A0603943B1863FB2F38524E0A2003358C0223CE10903A4F4014865E812842104894A610FEC18421AFC5108A750A20E3B8506341800542D34C0032260E94A2380D40788E00542D0831ED8C0834E7CA10EE4488237B2428946D022099C40A416B45080049075AC11202B4BDBF182048C420F7048072D0AA18BB9CEC50EC0E0C43576E003BE06E0AF728C4002361BD80878C00309F040256231047570E21E8808CC30E2818C3E9881053E48A45FCBBAD900FF6CF6B6B5D5470386800C7E78642E8860413FFAF00970B821B60CB02D529790800038D7B9B7752E5787C08974FC762E9740C627CEB10534F035B99BBD022E3C10007DDCE0B9CF256201A4A08E4E5C372B60E0871DCC30081E547688B6F5401E30510912546211E7452F03C8A88572E432302A4807170A60063BA0C102654CAE7E69908B2300C11301962E570B5060673C2230C630C1041A90026A5800C22918803E46E10920B08106A5B80111931B00F572D80816480788455C8009CCC0027C2D803C4A01840EB0E1C87990F18C67ACD774580057733184052640E519F821C80CA8C41ECC70641A80A312FA604098990CD47418410B08DEEB0C66A0852B237269C0B258041BCE710433B840C9649E409BAFA002CDC0020A50D0420BA6FCE61BC0810D89D8C10EE4B1641B4FC0022A482D734E01060BC416913758443B1AA0CA05AC79060D6840507D9082147C48056F28B53C183D80141862132088B5AC63FD069941E9D6B84E484000003B'
    Return Binary($sBinGIFImage)
EndFunc   ;==>BinGIFImage

Func MyBinGIFImage() ;test GIF image converted to a binary string
    Local $sBinGIFImage = '0x47494638396130003000F60000FFFFFF22DDAAF1FCF9E5FAF4D2F7EDB8F3E3D7F8EFFAFDFCEEFBF8BFF4E6DEF9F2B3F2E1CBF6EAEAFBF6C6F5E8F7FCFBCFF6EC69E7C56CE8C6E7FAF59CEFD83DE1B42FDFAF22DDAA59E5BFF5FCFA84EBCFA0EFDA4FE3BB7DEACD8DEDD3D6F8EE27DDAB88ECD1B6F3E26EE8C746E2B733DFB078E9CBE2F9F375E9C990EDD48BECD299EED7C8F5E965E7C3C3F5E771E8C894EED536E0B14DE3BAA3F0DB62E6C2BCF4E4ACF1DEA7F1DC2ADEAD3AE0B355E4BD5EE6C152E4BCDBF8F0B0F2E042E1B697EED67CEACC3FE1B5A9F1DD81EBCE49E2B95CE5C02EDEAE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021FF0B4E45545343415045322E30030100000021FE1A43726561746564204A616E7561727920323574682C20323031380021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D132C041F8F958706221494002E2B9E831F2C03968F1D23232A820B11AC83149E22A4890808821E24B8B52B15BC8210AC1135B28709141419001F17CB290729CB178226BC15C800090CC300BFAC1A8225CB16002AD08220CB18820C0B0B0E07C312D41B0026D0061AE522D02B0003EC050EB44DB0000DC209682DEA2D03C0015A8607FF1208B064C0C144000BA0813800EDC28B72D0C4255850A0C02841061E301A5032C1490CD030A080D670D90C68210CFC2320084181768CD6914C40E0C0838ECF96C1885141460468FE48BA03A0F3DF4945554B5A2CD071050B431038D0F85952C0830436FE3178C7A801D90209FF14D4E4A9880049050AD8912CA06011828B001E38F857804108B68B1A544C2B1570A204D806A8A4FACF402501842D0B1AB04E3321967021331870C06D02520AE08E6A20945DC0422C0943267AD592820176F5B64C80F873EB96744921605C12AE030593130D18CCAEB6A5E2098E3B6EC4B937450706A66B23352041F1EF7109092040BE7C79CFB20CDC58CF9EFDEBCDDFE39FD6963A7E71F4020C10D0CF9F3C7A5202E025E080B528824045EFC9E200030D5CA68003B399340C4436A4C5A0220728C040843F2DF0DF23A9E955A187DA51055949EC24909D010556529A01DE75B84085F37DD66101D901800084BC59D21900F9C5C84E708460D3A0200A9C8863EA25A02D20514F3016D022220F6C1823031A26A7085E1092555B899FF158D20002CC36A52107AC5340954266D3088C313AA0D28625B1465A210FDCE6DD02D924B9E7938B74B9A4893FE1E5DD69303210A57E288E2280A0053022005C1775E75D3610F20900012545C99B031DAA740001DEF5D5D620821D0AE49E0D722A65A60234F0E720037C18548CB54419E9A62501D0A565517A485F8C9A654A97AB84CE072A3B673ED21D403DED5920B28F8E544B993FB929CBA393E93A08B200D0495792B60E93A967E026D9AB205A6E17D8B22D825BED0260BADB0F7AE05295A3BD8E0830C091FC062CF0C08A04020021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D132C041F8F958703040908822E2B9E831F2C03968F0B0B0506820B11AC83149E22A489020F820C360B09822B15BD8210AC1135B28706050E8202B805A32917CF8226BD151900073336D5B203A709A900A60504002ACF178220CF18BBAC2F13C40EDD0D0006CB071AE60022E62BE0D31C07883D2870CAC10365A70698C8C7C15C8601E62E40B064C0810041DC0A246000806001062FF299B3002087390D820E7CD0A66840018DA30030E8A6A0DEA911E666980B81F31949003D5678581150D1CC6E04027A4CD000170306312AC888606E41C4130056E8D8AAC3062303E18E0940700A55835A852070A01171C3041911FF7F7C5BD4C0A3C69A0B18144D84E3598C1B112F44D87B08C145410FE29565109351880B3A02FB609460E300B4604FCD6D0421228E9803666EC6F8B2B2E503757559DAF10C058006474D212BE432AC69028D2B1DE021CE94ED04840785F65D7A9C2C04B8CA6A74A0006DA2018A17E4B6F472B982C38F4207AF54D1007662E00724A84E3E8102420208A85FBF7E34C51BF0E3C79F4D9A7C79F00014D827BF59800102FF05A89E7B9508A0C0810822B889220854449F2C0E3030CF23063A601A33022D60835313227280020C5C48D0020436A29F6F1B92F8DD200654F69229DEF8B7A06E0DB4F8A2291BAA46486D9A5D848085C059221A00FE8D37A271856CD4A1EC022EA252894B0425705883E3CD88C803211AC90088CE2972A0851EE5B6A221D035398000A65969C801331580A5917939D2A29106C964246C0304F78002E211C41193E3E532A621603A494FA0078EA74B8B0CD8F8DF8BA3085068018C08A0D161E28DC791857112F0928DC03930622D076452C0798C749898A244063A8FA705FC98C002023410A88E03946894919BD8482900B00200662A3692081E939F0AC2A971C182AAEC886A6637DE6C0804BA60B092CEBA099A7E82272966460E12AC9DE208C2A4AEA4703AD7B8C8FE0A4097F8BD2BEA02338E9B2DADF13EB7D9B8F478972F850374F8EFC004179C48200021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B88207333619C103A809AA00AFA0CAADAFD82B11112F13C10ED60D0006BE07DC00BDA802D915F31C07C10F05A80E0FC7A803EDCD720DB840F002044B061CC473678D01807C0518B4F3062047410DCF3E4C5B34A040810494985953A00E15B7770504BC286841508F151E56D853C4E0550202F6202668708B4103030A7EDE7250A0E085130056E858AAC3062303AF880940802A55035A850428185870C30419467F605BD400E247920B18CC4C8483608C1B46FF2F44587B08C142000FCC5565109251880B3AE2FA609420015FAC504D5682601407A5030E56105960A8E3C7C27C0F94CD6569074114006ABC1062A13487CAF9AA16BED9B7D2011E405AC42D48AE72CDA83783B9984D10030B8E7A17B4761DD7C210BA8C06A80D06A060908DCC839D60E1A2BAF5EA63010820C0BD7BF7ECA53C90184F9E7C0442963DAAF7C8399804DE045B0E12608040FDFBDCC15B5201FF0286450824540C730EF85489560EAC56C0708F3CB0800D3DA193C8010A30A0606AFA39A2406A0FDE62C05D8418509847A75C431F308F68262289A740D8DE201D79134F248521C7484DAAD097008BAD14629884002830222C8F5886CB4201EE88E2E0210F58B863441562B588020A2408516B205E92E0930308B0DA92851C5053014D3E999623223EB90F334F369059210F6CB5E39942CE994096875849E48A0B50B9632E224AB463'
    $sBinGIFImage &= '7D245222809E053022C0470B0D30A243099E4980472B2600596AB41C9049010A3402645E7F6A37273A93FE12A9000DD80963868B58E8D1262B260A40A90058A90A9FAC362224A58244DA0AAD95F69A1A988E384A8C2008CC490AAD8726B0C0265EE6E350308722F6E420B4B2B98C90B99612E958D9EE2A2B5ED1C149D4B3D87A64CCA9E526F20F21D9A6F361BB8F08300090F4E6ABEFBE8904020021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B883090CC10003A809AA00AFA0CAADAFD70CA70E07C10ED50D0006BE07DBD3BE02D3AFC5C10F05A80E0FC7A803EBCDB90FAF09EE2A197010905A016800E81560B0AE1B8004A80A50E2446BD1800207277E3BA8001DAA6DBD500930904D10027AF1147DAB46409CC2040D6E3168604001CD5B0E10C01347F2D544453D3112D489D140838A840428B8187156825BA8188863D44021479252171140A540C1A9880A16210808E001B9880C7E2EA2E9002A31B289FF12401B5031E83547025EC10270C0C10A220B0C5D3C2837ED81AAB92C29C808A0C60B21162273104C2FA2DC0404D4565ADCE282E7CF9E275C5A69B9552917A041636061F1EC02CD8F0EA4B63064AAA30159837D0E92419AEF132C5C081F2EFC2E000104922B576EBC940712D0A3478F406830C6EB18130793901AB485A40608841F9FBCB92515DD3F63103B30652C162C602B52EAE0B2C4601388E8D7400182A2030A30605F65E639024364085A208406FE1962805C189D62CD48C03CF2000411A477410E9475E34E2472D9E6C80C1ED870800F45A446C221D09823880210EEE588083AD428410F7CAD808367332CF280800960C440804829A2C00DA081B0C2D72019DC20A260F505299100975568C8011B39909A0CBD31F2A094F6302365038615F2C052412EC040063FA4560323F515C5499A5D0599CB830C05195E849484909A7C491D541084D1D4A72600041465675F95D102C1672534E2625971E642253DE624FA8BA1023490666207947041978F0888D1260F622488A600C4A94AAA0B14E8088C72B60A512BACA69A98039559F9C80041C683409AA4B02A80A19B5C7A6830C7D625E520AC8AB90C8CB2C662E85DD1D25AC02045FA46293DC0447B2C4470795B883E84447B8E01E59A3BDF0093BA2BEFBCF42612080021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B883090CC10003A809AA00AFA0CAADAFD70CA70E07C10ED50D0006BE07DBD3BE02D3AFC5C10F05A80E0FC7A803EBCDB90FAF09EE2A197010905A016800E81560B0AE1B8004A80A50E2446BD1800207277E3BA8001DAA6DBD500930904D10027AF1147DAB46409CC2040D6E3168604001CD5B0E10C01347F2D544453D3112D489D140838A840428B8187156825BA8188863D44021479252171140A540C1A9880A16210808E001B9880C7E2EA2E9002A31B289FF12401B5031E83547025EC1E2F5EDEEA08B07E5A63D50359725051901345809CE10D388721310505B69E9D6AF18E54E2D348071E656A510B8CDEC4001524403CE2EA05C09E3C1D2701B75DE5C6AA081D8D24A0D48E0BA7782B0830410184E9CB8DFDA37922B579E725AEFE78683217EEEDAEF480206B06BC79E5B69D7EFDF81214230B07929162C582B52EA20B2C4601388C8D7400182A2030A18B8A7B7E0F82318160428A0101AD86788017261748A352389E7C803104470C184144E988363FCA5E24E249A59328307361CE04311155E40C221D09823880209EEE588083AC428410F001CB0020E13CEB0C803FAF1B6507EA725824E8520AC30480637D0E658F17B3E0E2040640E16F2800D2B50E040893264D008823EDAC38C8F8B0DA064061FD410C1992A64F043893530D25E519CF0B64057BCE582200343ACB0420D1854E0A70D008450A27A491D545082D1B4B740340460A4C2991DF450E10900404061098DA858D69BB93C498F398D16E0839F15400003853108724009176859897E186D82204682849A018528009003AED2B00827008AB6122A00244E08000215B619CB6EC498242729C35240A108000C41210ED208E0E5393E0E32EC03149E08000917C410A4348ADE352C0016503895B2B90D62163DC0ACBB02853EC49B883E84AC7BC0842A28A9AF2C03683AF0C108279C48200021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B883090CC10003A809AA00AFA0CAADAFD70CA70E07C10ED50D0006BE07DBD3BE02D3AFC5C10F05A80E0FC7A803EBCDB90FAF09EE2A197010905A016800E81560B0AE1B8004A80A50E2446BD1800207277E3BA8001DAA6DBD500930904D10027AF1147DAB46409CC2040D6E3168604001CD5B0E10C01347F2D544453D3112D489D140838A840428B8187156825BA8188863D44021479252171140A540C1A9880A16210808E001B9880C7E2EA2E9002A31B289FF12401B5031E83547025EC1E2F5EDEEA08B07E5A63D50359725051901345809CE10D388721310505B69E9D6AF18E54E2D348071E656A510B8CDEC4001524403CE2EA05C09E3C1D2701B75DE5C6AA081D8D24A0D48E0BA7782B0830410184E9CB8DFDA37922B579E725AEFE78683217EEEDAEF480206B06BC79E5B69D7EFDF81214230B0792907332B29751059A2BC0536649A4B74400183F6F4161C7F84F86B7CFDB89D231746A7583392788E1066006FF9C16743747FE5978A3B916866495F008CC4E029A01102CD7C002830E05E8E00864B40E4F186A0210FDCC72003F69D96484DEC29A4568084A436E2000244B622210FD8B0020508DC4760348D2CC8A0F83DCC3038000B06C898C107354460A50A210E78222335EEB5203D88AD3064910CB0308498356050C19A3664D865018C087050410346F3C2952E883983065676D0C305805E70020007645200706B0D62166FB938B06605220CD1A70F8F420043A031FCB51F2346FE02C00B811EA0C29A3B6410280A00E470AA3422162548A032006002A03F005044A0002010E8053504B31B3182F810E80C0044006809005010A808000C11280ED208C024003F840A8011B83E102809829070410C32067340A0C802C001AE0058602D00BDE646C80781522048B5800AB242A03EB83B1E0A174C45EF05828C7B810AB4E99B880328480083C10C37EC302381000021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B883090CC10003A809AA00AFA0CAADAFD70CA70E07C10ED50D0006BE07DBD3BE02D3AFC5C10F05A80E0FC7A803EBCDB90FAF09EE2A197010905A016800E81560B0AE1B8004A80A50E2446BD1800207277E3BA8001DAA6DBD500930904D10027AF1147DAB46409CC2040D6E3168604001CD5B0E10C01347F2D544453D3112D489D140838A840428B8187156825BA8188863D44021479252171140A540C1A9880A16210808E001B9880C7E2EA2E9002A31B289FF12401B5031E83547025EC1E2F5EDEEA08B07E5A63D50359725051901345809CE10D388721310505B69E9D6AF18E54E2D348071E656A510B8CDEC4001524403CE2EA05C09E3C1D2701B75DE5C6AA081D8D24A0D48E0BA7782B0830410184E9CB8DFDA37922B579E725AEFE78683217EEEDAEF480206B06BC79E5B69D7EFDF81214230B0792907332B29751059A2BC0536649A4B74400183F6F4161C7F84F86B7CFDB89D231746A7588300012794429801BCE5079F0DD1FD955F2AEEF4B082074088D7485F008CD4E029A01102CD7C0750A0C3893A84500960B804441E6F1A1AD2030717D478810C050C3141235DB1A7905A0112B2828D3506F14104118C0081FE22076CF4C07D0446C3C801451079810319C850C19635B060C069652DC5DB02D12830608B8B3C406409190040838D2814B0C20A1420C000032C64920A01045222808F1831E24391820C59A30507BC80A40A2ECC390383071DE0407EB41CA027708BC0D08A01440EB46505220C81640791402440036346A78F2507101904002FD878800A5BEE00808FAA40AA9F34461029888D320060428D3F08789020939E12A3236FD6B8C9A035CE0040043596D0217B0B6C22C09852C632C3053E08F283AC00F45A632DBCB562E67EC1B45AAD20349E0B8099810A02666E1FD84881B8361A836D90B90180000A174C35AEBCE7DC16F0230EA020010C0B472CF1C49504020021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B883090CC10003A809AA00AFA0CAADAFD70CA70E07C10ED50D0006BE07DBD3BE02D3AFC5C10F05A80E0FC7A803EBCDB90FAF09EE2A197010905A016800E81560B0AE1B8004A80A50E2446BD1800207277E3BA8001DAA6DBD500930904D10027AF1147DAB46409CC2040D6E3168604001CD5B0E10C01347F2D544453D3112D489D140838A840428B8187156825BA8188863D44021479252171140A540C1A9880A16210808E001B9880C7E2EA2E9002A31B289FF12401B5031E83547025EC1E2F5EDEEA08B07E5A63D50359725051901345809CE10D388721310505B69E9D6AF18E54E2D348071E656A510B8CDEC4001524403CE2EA05C09E3C1D2701B75DE5C6AA081D886D419D8CD7BF70969D312B81E9E20EC201624922B576E0478A71BD0A3434F09C0C685EBD8B303473C7CB8DF1E32C28B17DF02B8D2AEE8D1033B7400C20A224432487330B392830E422C54B0606185BC0536C8644E2213A0004276D8ED100C625F05B8C06D879080E075450C41C06F9610668070F49C12A0618400911D0E2B1CD0C30A1E00B15E237D01301287A78036C801D70521CE0114E8A0A30E215402182E0121B0E12F8BF4C04176321430C4E9048D74E58070F924B5C80A0806F14104118C008122076CF400033046C3C8014520E840063254A0A60B8315F2C0525046A3805CF400B4C803D995201F0DD8A130E741E74033A4010460B49A8B4FBAC6880F350A42E575161CF0E402D1149A8A700948DA212D07645280718BC0D08A01D919800094E6581A09440234002588FA64985D1081622488A50024AACA900F4A638476B942D40AAE431AE640872B3EC2E7759B9C4A0F29B80A30E92602C429CD0C17F8C0098783E0CA8C70ADCCE91770C1F67AABAD00FC59C020A7916BD6B3DDA22B2DABE426126BBCEB720261BD780D3020BF00072CB02281000021F904090A0000002C00000000300030000007FF800082838485868788898A8B8C8D8E8D080E06038F958703040908820637050483060C9B968E0B0B05069C9EA082A7A9A589020F820C360B09AB9F8203B705A4B18506050E8202BE949DBB00B6B883090CC10003A809AA00AFA0CA'
    $sBinGIFImage &= 'ADAFD70CA70E07C10ED50D0006BE07DBD3BE02D3AFC5C10F05A80E0FC7A803EBCDB90FAF09EE2A89A0D08357B568F40A3058D70D400254052871A2B5C8058D8B336A5553800ED5B65EA80418C8260801BD788A5E1C597944C78003091334B8C5A0810105366F3940004FDCC85712131D4071A168D1213C0BA46A40919000050312169895E0162A06E21889305A14C337AC8B08A052A0E01444058B06009B8083EB85A08BFF6C3AB04A2CA0500D4434D8B826816B2501AF60F1FA768D50010B882D5490A1C2C0D60B132C2928908052836F66510E9AE1D6A8050D701F41156B5669820459091DB841A2F3856008E89A76A0A0E9A1071EDA16A5214D2965DA761B6530710182340392821F5267A0B9F3E627A44D4BE0BB7A02B4835890D8CE9DBB11E99D6E881F2F5EB30DD746A54FAE5EBD30801E32E2CB97DF42FA53B2F8F1035B0E610511221948E3404D9538D081108A21B6823C0BD8409339894C800208AEED10CC646639B88001CA09D25A6745F8600084951C601375F49CE2602E8500C1150E2B1C10C969A93942180022A1784A2BAA151544560A9CA6947B8C44450F40251940DDE27EB73120A4420A30605B226439405D3E4EA565258A0308709A268A1CF04D010F38A9D402D134A2248AF63083E2652F15F20054574613E495482E62E5909C5C491675B928B91075061070262502ECA91423025016D000424663259A00189A0AA0073890222D0764520076710DF2C09EB978498F3996CEB880000DE039883EA598F9CB39280A6229007BAAA2243D445612249FB83ED4CAADBBB2A8E9294C3E022931255D49CAAD893EB489A99406932845BB1630C8AD6E2E1364AF023E5418B7BF6A2BC894D28D4A0F30DC46BBAA748AC0BAEDA29C7008EF5F039078EFBEFCF6DB4820003B000000000000000000'
    Return Binary($sBinGIFImage)
EndFunc   ;==>MyBinGIFImage

I'm perplexed.

Share this post


Link to post
Share on other sites
Jos

You shouldn't as you have missed another limit in Autoit3 where one single line's max length is 4000.

Quote

AutoIt3 Limits/defaults

 

AutoIt3 limits Value Description
MAX_BINARYSIZE 2,147,483,647 Maximum bytes of binary data.
MAX_ENVSIZE 32767 Maximum size for an ENV variable.
MAX_LINESIZE 4095 Maximum size for a line of script.
MAX_STRINGLEN 2,147,483,647 Maximum string length.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
qwert

Ah.  Well, I never found that.  I was fixated on String Length and didn't think of Line Length or Line Size.

I'm glad to see it's a clear and known data case.  I divided my GIF into 5 parts and it worked.

Thanks much!

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×