From: John B. <jo...@ma...> - 2003-11-05 21:24:23
|
This is a useful feature, but with rlib getting more scripted, it seems = to me that it's not as crucial. =20 It also seems like you could make it portable by changing the way it = works to instead be a char[]* array, of alternating key/values, and = just have the pointer to that in the rlib *r. That's just a little = more work for you, but should work across languages. I would love a way to display today's date in a report -- I didn't see = a way to do that. -john > a current feature in RLIB is that is can pick up memory variables = from > your environment and put them in a report...=20 > ie.. > in php: > $start_date =3D "2003-01-01" > so then in RLIB you can: reference it as m.start_date > I'm going to add a function: > rlib_add_memory_variable(rlib *r, char *name, char *value); > so that in C you can add the variable in.. and you will have the same > function in all languages (php, python.. ect) > However.. this is not portable accross a lot of languages rlib is = going > to bind to... so I have a choice and you can vote: > I can either leave this feature in.. or I can take it out.. The goal = of > rlib is you can drop it in any language and get the same report with > VERY VERY little effort.... like there should almost be 100% api > compatible... however.. this would be a difference > opinions? > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |