search for: writeln

Displaying 18 results from an estimated 18 matches for "writeln".

Did you mean: writel
2005 Apr 04
0
io timeout after 180 seconds
...debug = true; ~ break; ~ case 't': ~ case '--test': ~ $b_dryRun = true; ~ break; ~ case 'r': ~ case '--reinit': ~ $b_reinit = true; ~ break; ~ } } if (empty($options[1][0])) { ~ writeln('Error: Configuation not specified' . "\n"); ~ showUsage($args[0]); ~ exit; } // grab the config names from the command line $a_configNames = explode(',', $options[1][0]); // ALL is a special keyword to run all backups if ($a_configNames[0] == 'ALL') { ~...
2005 Sep 22
5
Prototype lib : for-each loops and DontEnum
...ript"></script> <script src="javascript/dragdrop.js" type="text/javascript"></script> <script src="javascript/controls.js" type="text/javascript"></script> --> <script type="text/javascript"> document.writeln("<br /><br /> Array Test "); var o = new Array("1","2","3"); document.writeln("<br /><br /> test array contents = ["+o+"]"); document.writeln("<br /> c style for loop"); for (var i = 0; i < o.l...
2005 Oct 13
3
Tweaks of Array.prototype
Hi all, I encountered a big problem when trying to use Scriptaculous and Htmlarea in the same page. The Htmlarea code uses a lot of "for (var i in array_variable)" to iterate on array elements. Problem is that prototype.js augments Array.prototype, which then show up in the iteration, severely breaking htmlarea. The easy workaround is for sure to use "for (var i = 0; i <
2006 Dec 29
2
Binary AGI Scripts
...than what is available such as having the AGI determine if the "data" argument is plain text or a path to a text file and act accordingly. The problem that I'm having is that Asterisk is not sending back any responses to commands. I'm using stdin/stdout through the ReadLn and WriteLn commands in freepascal. Reading in the initial env variables is no problem, but once I issue a command like so: // >>> Create wav file from swift here <<< WriteLn('EXEC PLAYBACK /tmp/NewlyCreatedFile'); ReadLn(StringVar); // <========= Never returns // >>&g...
2007 Jul 24
1
Custom kinit to find device by "label"
...False; SetLength(ActualFSLabel, Length(RootFSLabel)); //loop through all devices that might have our root filesystem sda2 to sdp2 dev_minor := 2; while dev_minor < 243 do begin // last one is 242 if mknod(DEVICENAME, DEV_MODE, (DEV_MAJOR shl 8) or dev_minor) = 0 then begin WriteLn('Created device node "', DEVICENAME, '". dev_minor = ', dev_minor); end else begin WriteError('mknod with dev_minor: ' + IntToStr(dev_minor)); EXIT; //exit w/ error end; dev_minor := dev_minor + 16; FileDescriptor := FpOpen(DEVICEN...
2006 Jan 23
3
prototype.js: enumerable mixin for hash broken
...th prototype.js. After playing around with the very inspiring prototype library I have found a rather annoying thing, that makes the usefulness of the Enumerable mixin for Hashes questionable, if I am not totally wrong (again :-). Here an example: var a = $H({a:1, b:2, c:1, d:3}); document.writeln(a.inspect().escapeHTML()); // yields: #<Hash:{''a'': 1, ''b'': 2, ''c'': 1, ''d'': 3}> var b = a.reject(function(val){ return (val[1]==1) }); document.writeln(b.inspect().escapeHTML()); // yields: [[''b'', 2], [&...
2013 Jun 24
2
packages for input messages
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130624/2836bcf8/attachment.pl>
2005 Oct 27
2
Problem with strings in Delphi Program
...the login form of the program. The password I typed had 4 characters, but wine added some characters to the end of the 4 chars, which seemed to come from other strings in the form. To be more wordy: The form has 2 labels (user and pass) and 2 string fields: User: _____ Pass: _____ We added a writeln that printed out the typed password on the commandline, and saw that my password (which was "test") was printed as "testPass". The characters added at the end of the string seemed to change randomly, but often came from other strings found in the program... What could I do t...
2006 Jan 10
2
Is there a best practice in dealing with javascript dependencies?
As I''ve begun to work with several javascript libraries out there, I''ve run in to some dependency issues that must have been solved by others before. For example, I''m trying to implement the jstree library from Laurie Harper in to BundledResource. Breaking the ''jstree'' javascript from the sample html out in to its own file caused it to fail
2009 Apr 27
6
File access denied when printing from a Delphi application
...elphi application: File access denied. This printer routine in my application is a routine to print text. So it prints to a file in LPT1 . The source code is more or less like this: Code: procedure Print; var File: TextFile; begin AssignFile(File, 'LPT1'); Rewrite(File); try Writeln(File, '...'); // ... finally CloseFile(File); end; end; I think the error occur in the AssignFile or Rewrite procedures, when the application tries to generate the file that will hold the printing on the system. I'm almost sure that if I execute my application on Wine und...
2016 May 23
3
A "Cross-Platform Runtime Library API" in LLVM IR
...s, it's necessary to call `_start` or equivalen, if you want to `stdin` and `stdout`, to initialize those - but sooner or later, you'll end up wanting to buffer I/O a little bit beyond calling the OS read/write operations (`write` is pretty rubbish for implementing `printf` or Pascal's `writeln` - because you get far too many user-kernel-user transitions, making it slow), and most likely, you don't want to call `sbrk` and `mmap` to allocate memory directly either. So, the runtime library for language X will have to have some runtime library that sets things up in accordance to how it&...
2016 May 23
0
A "Cross-Platform Runtime Library API" in LLVM IR
...s, it's necessary to call `_start` or equivalen, if you want to `stdin` and `stdout`, to initialize those - but sooner or later, you'll end up wanting to buffer I/O a little bit beyond calling the OS read/write operations (`write` is pretty rubbish for implementing `printf` or Pascal's `writeln` - because you get far too many user-kernel-user transitions, making it slow), and most likely, you don't want to call `sbrk` and `mmap` to allocate memory directly either. So, the runtime library for language X will have to have some runtime library that sets things up in accordance to how it&...
2016 May 23
0
A "Cross-Platform Runtime Library API" in LLVM IR
You guys are saying that the library which defines the runtime library is written in C for many languages. The problem is that such functions are in the libc and so the object files have to be linked against the **entire** libc. Sorry if I'm wrong but isn't it a little inefficient or hard to handle? With "hard to handle" I mean the entry point: if I use C's I/O operations,
2016 May 23
3
A "Cross-Platform Runtime Library API" in LLVM IR
On 23 May 2016, at 12:16, Lorenzo Laneve <lore97drk at icloud.com> wrote: > > I'm not talking about a new library instead of the libc, I'm talking about letting people create a library optimized for a specific frontend, regardless of the target. It sounded as if you were talking about a library that sits underneath such a thing. Lots of languages have their own runtime
2007 Feb 18
5
Looking for starting point?
Hi, I am a retired telephone tech/manager who recently had a bad experience with a local company offering digital phone service (VoIP). I have spent the last thirty years in the PSTN network, switching, PBX and key system field and am interested in learning more about VoIP. My background also includes programming, mostly specialized applications to interact with the PSTN network. Most of my
2009 Sep 02
0
Wine release 1.1.29
...html: Fixed script tests on IE6 and IE7. jscript: Added to_primitive on hosting objects test. jscript: Make Array.slice generic. jscript: Added Array.unshift implementation. mshtml: Fixed tests on IE8. mshtml: Added http loading test. mshtml: Added IHTMLDocument::writeln implementation. mshtml: Added IOmNavigator::get_userAgent implementation. Jan de Mooij (1): comctl32/propsheet: Update position of hidden buttons too. Jeff Zaroyko (1): kernel32: sLanguage is LOCALE_SABBREVLANGNAME. Jesse Allen (1): dinput: Add DISEQUENCE_COMPARE macro....
2016 Mar 20
2
Need help with code generation
Adding back the "all recipients" - sorry, sending message from my phone, I forgot... Since my runtime is for a Pascal compiler, it has to "adapt" the C startup into a suitable Pascal environment. This means running the init portion of other modules as well as discarding the argc, argv arguments. So, I have a C main, which calls __PascalMain, which is the "main" for
2008 Jan 14
1
Problems with forms
...#39;,width=740,height=550'');"><script language="JavaScript" type="text/javascript"> if (navigator.userAgent.toLowerCase().indexOf("safari") == -1 && navigator.userAgent.toLowerCase().indexOf("firefox/1.0") == -1) { document.writeln(''Einfach Texte formatieren und Ansicht vergr?ssern''); } </script></a></p> </td> <td class="n_FormLeft" colspan="2"> </td> <td class="n_FormRight" rowspan="2" row>&nbsp;</td> <td class=&...