Re: Error message need explaination in english
- To: mathgroup at smc.vnet.net
- Subject: [mg78653] Re: Error message need explaination in english
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 6 Jul 2007 03:23:47 -0400 (EDT)
- Organization: Uni Leipzig
- References: <f6if0b$428$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, may be that SetAttributes[metareplace, HoldFirst] help you Regards Jens JGBoone at gmail.com wrote: > So i put in these commands > > Q=Range[10]; > size[group_]=Length[group]; > metareplace[group_] := (group[[Random[Integer, {1, size[group]}]]] = > hubl[metacommunity]); > (*takes random element of community size and replaces it with random > element of metacommunity by way of the function hubl[group_]*) > metareplace[Q] > > > and get this error message > > Set::setps: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} in assignment of part is > not a symbol > > looking at the help menu only confuses me further. can anyone tell me > in layman's terms what the messages means? > thanks > >