Save the work on the IDE, Peter, and just code like your second example from the start < s >
cheers
>[snip]
>>>Moreover, in that IDE you can switch between views. In one view you only see the descriptors, in another view you also see the technical details like datatype and scope. How about that. Shall we start writing that IDE?
>>
>>Not sure what you're trying to say and how valuable this would be.
>
>Imagine a button or hotkey that changes the
display of the text, like:
>
local lcLocalPath, lcBuffer, lnBufferSize, lnResult, lcStructureString
>
>lnBufferSize = iif(pcount() = 1, MAX_BUFFER_SIZE, tnBufferSize) + 1
>lcLocalPath = lcDrive
>lcBuffer = space(lnBufferSize)
>lnResult = WNetGetConnection(@lcLocalPath, @lcBuffer, @lnBufferSize)
>into:
BufferSize = iif(pcount() = 1, MAX_BUFFER_SIZE, BufferSize) + 1
>LocalPath = Drive
>Buffer = space(BufferSize)
>Result = WNetGetConnection(@LocalPath, @Buffer, @BufferSize)