[frogs] Converting string-number-event into an integer |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: "frogs@xxxxxxxxxxx" <frogs@xxxxxxxxxxx>
- Subject: [frogs] Converting string-number-event into an integer
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Fri, 05 Mar 2010 10:00:19 +0100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1267779621; l=451; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=jnn+9R7kLkhE4wkXeHyS8VRrMbw=; b=q5ZhFMEfyO0sMFIPhy7zi+OW5IYyPw4eIKligEMeBo5bnxVRvKE8KM2611fCOKoQxuO NL4/hJE3hndFpiPUsNfZmL6PYcd8GCgUI+T64QCOOrqhy8VFM2oKc/1Q7bWahZH/sV3L8 iBsK+alnACf49ZwHF4tGGBeYOa0MRkmyIGg=
Hello all,
after reading through quite a lot of files in lily/,
I have still no idea how to obtain the digit from a
string-number-event for further use as an integer.
For example, if I have
c4\4
I want the "4" to be an integer variable in C++.
My code is similar to the routine in tab-note-heads-engraver.cc,
and I want to get the content of the vector string_events
(which is stored in line 116) converted to integers.
TIA
Marc
---
----
Join the Frogs!