Re: [MSEide-MSEgui-talk] Python indentations in ObjPas :)

2012-07-17 Thread Marcos Douglas
On Tue, Jul 17, 2012 at 2:42 AM, Martin Schreiber wrote: > On Monday 16 July 2012 22:59:33 Marcos Douglas wrote: >> Indentation is not everything when it comes to ease of reading. >> The names is many important too. >> >> See your example above. The variable names are: >> int1,int2,int3: sizeint

[MSEide-MSEgui-talk] How to check if does a file belong to a directory of PATH envvar or current directory ?

2012-07-17 Thread IvankoB
To check if this file can be executed ( "execwaitmse()", ..) via calling its name (w/o the directory part). -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat l

Re: [MSEide-MSEgui-talk] TMSEFileStream: how can me use a singel instance of the steram for creating+filling(via HTTP) a file then rereading the file(to compute its SHA256 digest) ?

2012-07-17 Thread IvankoB
>> PS: the need in "mselowercase" looks strange. Is it a digest rule ? >> > I don't know. You can use "lowercase(bytestrtostr())" (not > tested). > > Martin > Works :) A new function "digesthex(..)" ? -- Live Security

Re: [MSEide-MSEgui-talk] Python indentations in ObjPas :)

2012-07-17 Thread Graeme Geldenhuys
On 17 July 2012 06:17, Martin Schreiber wrote: > > I went to the opposite direction, a single space for indentation only. > -> Closing "end"'s build a 45° line, a wrong "end" structure is visible Looking at your code again, I now see what you mean. Though the indentation is still to shallow for

Re: [MSEide-MSEgui-talk] Wishlist: editor with tabs visible

2012-07-17 Thread Graeme Geldenhuys
On 17 July 2012 06:26, Martin Schreiber wrote: > > IIRC I once had TAB display code in MSEgui already. I'll have a look. Awesome, thanks. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Re: [MSEide-MSEgui-talk] Wishlist: editor with tabs visible

2012-07-17 Thread Graeme Geldenhuys
Hi Sieghard, On 17 July 2012 00:14, Sieghard wrote: > > IF there's no chance ever that you might have to edit your code in some > other editor, that might do. If not... I honestly can't think of a single programmer editor that doesn't support TAB character indentation. They ALL support the TAB c

Re: [MSEide-MSEgui-talk] TMSEFileStream: how can me use a singel instance of the steram for creating+filling(via HTTP) a file then rereading the file(to compute its SHA256 digest) ?

2012-07-17 Thread Martin Schreiber
On Tuesday 17 July 2012 08:34:15 Ivanko B wrote: > Smth like : > > hash:= ''; > for i:= 1 to length(s1) do begin >hash:= hash + mselowercase(inttohex(longword(s1[i]),2)); > end; > > PS: the need in "mselowercase" looks strange. Is it a digest rule ? > I don't know. You can use "lowercase(bytest