Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Joe Riel Newsgroups: comp.soft-sys.math.maple Subject: Re: Maple 15 Syrup Ladder Networks do not accept uF Date: Fri, 03 Feb 2012 08:07:59 -0800 Organization: A noiseless patient Spider Lines: 33 Message-ID: <8739arzyqo.fsf@san.rr.com> References: <5OednfpP9r2zL7bSnZ2dnUVZ_smdnZ2d@megapath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="fkgjSOZ+03w83W7QjZBmIg"; logging-data="17456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5g8UUlnR6Tg0c6XKIvvON" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:uRzdp+5reVN30V3c5+OehQt4M5U= sha1:m7d8l1SFAUVSn6TkC3UTLigNqY8= Xref: x330-a1.tempe.blueboxinc.net comp.soft-sys.math.maple:345 "Thomas D. Dean" writes: > Maple 15 > > restart; with(Syrup); > ckt:=[V,C(10uF)]; > on line 1: ckt:=[V,C(10uF)]; > ^ syntax error - Probably missing an > operator such as * > >> Version; > "0.1.16" > > ckt:="* name\nV 1 0\nR 1 2 100\nC 2 0 10uF\n.end": > Print(ckt); > * name > V 1 0 > R 1 2 100 > C 2 0 10uF > .end > > > Tom Dean That has always been the case. The reason is more a limitation of Maple than Syrup in that it isn't possible to enter 10uF unless quoted. I could extend the ladder notation to accept strings (as well as number) and then parse them. You could then enter C("10uF"). Let me now if that would be useful; it wouldn't be hard to add. -- Joe Riel