Re: Encode, Get ...
- To: mathgroup at smc.vnet.net
- Subject: [mg94623] Re: Encode, Get ...
- From: David Reiss <dbreiss at gmail.com>
- Date: Thu, 18 Dec 2008 07:19:50 -0500 (EST)
- References: <gianu4$8fq$1@smc.vnet.net>
"Get" is for reading in and executing Mathematica code. It appears that you are Encoding an image file. So, attempting to read it in as Mathematica code generates an error as one would expect. --David On Dec 17, 6:31 am, Ignacio Plazeta <Ignacio.Plaz... at speednet.es> wrote: > Dear MathFriends > > Surely I have miss out something; the following code > > SetDirectory[NotebookDirectory[]]; > myKey = "xyz"; > showFile = "1.bmp"; > hiddenFile = "2.bmp"; > Encode[showFile, hiddenFile, myKey] > Get[hiddenFile, myKey] > > dosn't work the way I expected and returns, in the > pink "Messages" windows: > > Syntax::sntxi: Incomplete expression; more input is needed. > (line 1 of "2.bmp") > > Please, can you point the issue ? > Thanks !! > > Best regards. > > Ignacio