RE: shared memory
-------Phoenix-Boundary-07081998-
Hi Kat, you wrote on 7/24/02 4:34:04 AM:
>
>Has anyone looked at the shared memory on the recent contribs page (by
>Jason and Mario), with a mind to make it platform independant (like by
>using
>platform())=3F Umm, errr, when it gets put on the page, later today,, ok=3F
>
>Rob and Karl, this is another good example of a reason to use includes in
>code, to reduce sizes:
>
>if ( platform() =3D linux ) then
> include file1.something
> -- do other things
> goto eoconditionalincludes
>end if
>
>if ( platform() =3D windoze ) then
> include file2LFN.e
> --set it up
> goto eoconditionalincludes
>end if
>
>if ( platform() =3D dos ) then include file3.umm end if
>:eoconditionalincludes:
>
Have you noticed that Bliss (soon to be renamed Bach)
supports the use of variables in include names=3F
sequence syscode =3D "Unknown platform"
if platform() =3D linux then
syscode =3D "linuxfiles.e"
else if platform() =3D dos then
syscode =3D "dos_files.e"
end if
include (syscode)
Karl Bochert
-------Phoenix-Boundary-07081998---
|
Not Categorized, Please Help
|
|