Displaying 8 results from an estimated 8 matches for "_string_".
Did you mean:
__string_
2006 Oct 21
0
[699] trunk/wxruby2/doc/textile/window.txtl: Added paint method; corrected ret values for get_text_extent; removed
...ont and
+size for which the dimensions of the string will be calculated. If this
+parameter is not passed, the current window font is used.
+
</ins><span class="cx"> h4. Parameters
</span><span class="cx">
</span><span class="cx"> * _string_ String whose extent is to be measured.
</span><del>-* _x_ Return value for width.
-* _y_ Return value for height.
-* _descent_ Return value for descent (optional).
-* _externalLeading_ Return value for external leading (optional).
</del><span class="cx"> * _font_ F...
2007 Mar 23
1
Binary information convert into hexadecimal
Hallo,
I just started with programming with R. I have the following problem:
Given is binary information and should be translated into integer and
afterwards into hexadecimal:
0000 0 0
0001 1 1
0010 2 2
0011 3 3
0100 4 4
0101 5 5
0110 6 6
0111 7 7
1000 8 8
1001 9 9
1010 10 A
1011 11 B
1100 12 C
1101 13 D
1110 14 E
1111 15 F
I found a similar function for translating
2006 Oct 21
1
Kernel.require behavior
...im that the rdoc is misleading and should be corrected as it says:
---------------------------------------------------------
Kernel#require
require(string) => true or false
------------------------------------------------------------------------
Ruby tries to load the library named _string_, returning +true+ if
successful. [snip]
which you''d implicitly assume means it returns false if NOT successful,
and it doesn''t say anything at all about a LoadError.
I''ve validated this with a test script but want to make sure there
isn''t some well-known a...
2012 Aug 01
1
Time Series Have Date Show Days of the Week
I used quantmod to pull in price data from the ticker SPY. The data has
date and closing price. I would like to show the day of the week for each
closing price. Is that possible? Also, I would like to add the back into
the data frame in a new column without changing the structure of the data
set if possible.
SPY
2009-01-02 92.96
2009-01-05 92.85
2009-01-06 93.47
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...nbsp       %(arg-type)Font% font = nil)
</ins><span class="cx">
</span><span class="cx"> Gets the dimensions of the string using the currently selected font.
</span><del>-_string_ is the text string to measure, _w_ and _h_ are
-the total width and height respectively, _descent_ is the
-dimension from the baseline of the font to the bottom of the
-descender, and _externalLeading_ is any extra vertical space added
-to the font by the font designer (usually is zero).
-
-The opt...
2007 Feb 16
13
negate the regexp in validates_format_of
Railsters:
ActiveRecord''s validation system puts other database systems to shame.
However, the newbies might not know how to write a regexp that
excludes a match, instead of tests for it. Understand - I''m just
asking this question to help them. I have been using Regexps since
''grep'' on Xenix! But the newbies here might not know how to do this:
2006 Feb 19
8
require ''digest/md5'' not working on Mac or Windows
I''ve tried the following line in ruby script/console
require ''digest/md5''
Both my Mac (Intel iMac) and my Windows box return "false"... Any ideas
what could be wrong? I was trying to do the RoR Recipe on page 54 of
Chad Fowler''s new (beta) book.
-Mark
--
Posted via http://www.ruby-forum.com/.
2007 Mar 18
0
[894] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Document changed Window methods in 2.6 -> 2.8 API
...":evthandler.html *get_event_handler*()
</span><span class="lines">@@ -1212,17 +1183,6 @@
</span><span class="cx"> * _font_ Font to use instead of the current window font (optional).
</span><span class="cx"> * _use16_ If @true@, _string_ contains 16-bit characters. The default is @false@.
</span><span class="cx">
</span><del>-h3(#Window_gettitle). Window#get_title
-
- String *get_title*()
-
-Gets the window''s title. Applicable only to frames and dialogs.
-
-h4. See also
-
-"Window#se...