日々のDraft

回答原案集

愚痴

2011-07-27 21:48:33 | その他

The rules for converting any value to an array type are as follows:

  • The target type may not be a multidimensional array.
  • A value of null type is retained as is.
  • For a scalar value other than $null or a value of type hashtable, a new 1-element array is created whose value is the scalar after conversion to the target element type.
  • For a 1-dimensional array value, a new array of the target type is created, and each element is copied with conversion from the source array to the corresponding element in the target array.
  • For a multi-dimensional array value, that array is first flattened (§Multidimensional array flattening), and then treated as a 1-dimensional array value.
  • A string value is converted to an array of char having the same length with successive characters from the string occupying corresponding positions in the array.

教えてgoo Q6896996

2011-07-24 22:16:03 | 教えてgoo

http://oshiete.goo.ne.jp/qa/6896996.html

Shredder 8.0a1preで再現しない。

#2氏の言うとおりならあるはずの該当バグレポ探しは気が向いたらやるかも。俺のところで再現できないため、そのようなバグレポが存在した場合、8.0a1に向けて再変更するレポートも探す必要がある。

なお、自分(himajin1000000 at gmail.com)から自分(同アドレス)に送信している。show only display name for people in my address bookを有効にしたとき、ヘッダ表示ペインでは、Youになっている。


教えてgoo Q6177413

2011-07-23 15:14:07 | 教えてgoo

「すいません。ワイドベースにて64bitで使用した場合でも  'Microsoft.Jet.OLEDB.4.0' プロバイダはローカルのコンピュータに登録されていません'と表示され、実行できませんでした。と表示されます。何か方法はありませんでしょうか? 」と、あります。これは質問者でしょうか?

普通、この手のメッセージを見れば、'Microsoft.Jet.OLEDB.4.0' を探して、設置すれば問題を解決できると思いますが。なぜそれをしないのでしょうかね。だって「登録されていません」ですよ。だったら登録すればいいわです。

登録しようとすると「このOSには設置できません」などとメッセージが出て、インストールできないはずです。なぜか、もメッセージに出てきて、64bitでないからと言うのがわかり、それで64bitのOLEDBのドライバーはないですか? と言う質問になるはずなんですがね。

拍手。


教えてgoo Q6892036(VB.NETと配列)

2011-07-22 14:35:15 | 教えてgoo

http://oshiete.goo.ne.jp/qa/6892036.html

簡単そうに見えて、結構難しい。

String array. If Expression is a zero-length string (""), Split returns a single-element array containing a zero-length string. If Delimiter is a zero-length string, or if it does not appear anywhere in Expression, Split returns a single-element array containing the entire Expression string.

ここまでは簡単。じゃあ、この予想ついた?VB6だとまた話が別。

The set of upper bounds is equivalent to a variable initializer of an array-creation expression with the given upper bounds. The number of dimensions of the array type is inferred from the array size initializer.